import request from '@/utils/request'
//患者教育表格数据
export function listPatientEducation(data) {
  return request({
    url: '/api-fol/followYzyPatientEducation/listPatientEducation',
    method: 'post',
    data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
//新增保存患者教育
export function savePatientEducation(data) {
  return request({
    url: '/api-fol/followYzyPatientEducation/savePatientEducation',
    method: 'post',
    data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
//修改患者教育
export function updatePatientEducation(data) {
  return request({
    url: '/api-fol/followYzyPatientEducation/updatePatientEducation',
    method: 'post',
    data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
//患者教育回显
export function getPatientEducation(data) {
  return request({
    url: '/api-fol/followYzyPatientEducation/getPatientEducation',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
//删除患者教育
export function deletePatientEducation(data) {
  return request({
    url: '/api-fol/followYzyPatientEducation/deletePatientEducation',
    method: 'post',
    data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
